package com.kd.bean;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

@TableName(value="users")
public class Users {
	@TableId(value="userId",type=IdType.AUTO)
	private Integer userId;
	private String username;
	private String password;
	private String nick_name;
	private Integer phone_number;
	private Integer gender;
	private String head_portraits;
	private String email;
	public Users() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Users(Integer userId, String username, String password, String nick_name, Integer phone_number,
			Integer gender, String head_portraits, String email) {
		super();
		this.userId = userId;
		this.username = username;
		this.password = password;
		this.nick_name = nick_name;
		this.phone_number = phone_number;
		this.gender = gender;
		this.head_portraits = head_portraits;
		this.email = email;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNick_name() {
		return nick_name;
	}
	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}
	public Integer getPhone_number() {
		return phone_number;
	}
	public void setPhone_number(Integer phone_number) {
		this.phone_number = phone_number;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public String getHead_portraits() {
		return head_portraits;
	}
	public void setHead_portraits(String head_portraits) {
		this.head_portraits = head_portraits;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "Users [userId=" + userId + ", username=" + username + ", password=" + password + ", nick_name="
				+ nick_name + ", phone_number=" + phone_number + ", gender=" + gender + ", head_portraits="
				+ head_portraits + ", email=" + email + "]";
	}
	
}
